/*jslint maxerr: 50, indent: 4, browser: true */
/*global define */

(function () {
    "use strict";

    define("object.hasProperty", [], function () {
        function hasProperty(obj, prop) {
            return obj && prop && typeof prop === "string" && prop in obj;
        }

        return {
            "object": {
                "hasProperty": hasProperty
            }
        };
    });
}());
